<h2>Performansi Kehadiran</h2>
<div class="grid_3 alpha">
    <ul id="selector">
    <?php foreach($users as $id => $user): ?>
        <li><?php echo $this->Html->link($user, '/performance/arrival/' . $id . '/' . $year . '/' . $month); ?></li>
    <?php endforeach; ?>
    </ul>
</div>
<div class="grid_9 omega">
<?php if($showCalendar): ?>
<?php
    $this->Calendar->type = 'arrival';
    echo $this->Calendar->table($year, $month, $data,  'arrival/' . $userId . '/');
?>
<?php else: ?>
    <p style='font-size:1.6em;color:#999;font-style:italic;line-height:1.4em;margin-top:100px;'>Silakan pilih salah satu pegawai di samping untuk melihat performa kehadirannya.</p>
<?php endif; ?>
</div>
